//
//  DMHttpManager.h
//  DMHttpManager
//
//  Created by zgy on 2025/6/30.
//

#import <Foundation/Foundation.h>



@interface DMHttpManager : NSObject



+ (instancetype)shared;


- (void)postAction:(NSString *)action dataParams:(NSDictionary *)dataParams completion:(void (^)(NSDictionary *response, NSError *error))completion;

- (void)postEncryptedAction:(NSString *)action dataParams:(NSDictionary *)dataParams completion:(void (^)(NSDictionary *response, NSError *error))completion;

- (void)postAction:(NSString *)action dataParams:(NSDictionary *)dataParams encrypted:(BOOL)encrypted completion:(void (^)(NSDictionary *response, NSError *error))completion;

@end


